package Entities;

import java.io.Serializable;

import javax.persistence.CascadeType;
import javax.persistence.DiscriminatorValue;
import javax.persistence.Entity;
import javax.persistence.JoinColumn;
import javax.persistence.OneToOne;

@Entity
@DiscriminatorValue("ELABORACION_NO_VENTA")
public class Entity_ElaboracionNoVenta extends Entity_Producto implements Serializable {
	private static final long serialVersionUID = 1L;
	@OneToOne(cascade = CascadeType.ALL)
	@JoinColumn(name = "id_receta")
	private Entity_Receta receta;

	
	public Entity_Receta getReceta() {
		return receta;
	}

	public void setReceta(Entity_Receta receta) {
		this.receta = receta;
	}
	
	

}
